package org.xtremeobjects.forms.core;

import java.util.ArrayList;

public class Form {

	private ArrayList<Field> fields = new ArrayList<Field>();

	public Form add( Field aField )
	{
		aField.setParentForm(this);
		getFields().add(aField);
		return this;
	}

	public ArrayList<Field> getFields() {
		return fields;
	}

	public void Delete( ) { }
	public void Edit( ) { }
	public void Apply( ) { }
	public void Cancel( ) { }
}
